$def with (page)
<a href="$homepath()$page.url()">$page.name</a>